package com.example.smartgreenhouse.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;
@Data
@TableName("device_current")
public class DeviceCurrent {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String deviceType;
    private Long deviceId;
    private Integer currentLevel;
    private Boolean isAuto;
    private LocalDateTime createTime;
}